﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Chisel.Core.Connections
{
	/// <summary>
	/// Something that can be used as the end of a segment.
	/// </summary>
	public interface ISegmentEnd
	{
		/// <summary>
		/// The position of the end.
		/// </summary>
		Point Position { get; set; }

		/// <summary>
		/// The position in coordinates local to the connection canvas.
		/// </summary>
		Point LocalPosition { get; }

		/// <summary>
		/// The direction this end specifies that it would like to point.
		/// </summary>
		Point? Direction { get; set; }
	}
}
